<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>zui-admin</title>
    <!-- zui css -->
    <link rel="stylesheet" href="dist/css/zui.min.css">
    <link rel="stylesheet" href="dist/theme/blue.css">
    <!-- app css -->
    <link rel="stylesheet" href="css/app.css">
    <!-- jquery js -->
    <script src="dist/lib/jquery/jquery.js"></script>
    <style>
        .verify-code{
            display: flex;
        }
    </style>
    
</head>
<body class="bg-primary">
    <div class="page page-login text-center">
        <div class="panel">
            <div class="panel-body">
                <div class="logo">
                    <a href="#">微校园服务平台</a>
                </div>
                <form th:action="@{/admin/login}" method="post">
                    <div class="form-group">
                        <input type="text" class="form-control" name="username" required placeholder="帐号">
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" required name="password" placeholder="密码">
                    </div>
                    <div class="form-group verify-code" >
                        <input type="text" class="form-control" required name="verifycode" placeholder="验证码">
                        <img  src="/kaptcha" title="看不清，点我改变"  onclick="src='/kaptcha?d='+new Date().getTime()" />
                    </div>
                    <button type="submit" class="btn btn-lg btn-primary btn-block" id="btnLogin">登录</button>
                </form>
            </div>
        </div>
        <footer class="page-copyright page-copyright-inverse">
            <p>WEBSITE BY 天一生水</p>
            <p>© 2021-2022. All RIGHT RESERVED.</p>
        </footer>
    </div>
     
    
    <!-- zui js -->
    <script src="dist/js/zui.min.js"></script>
    <!-- app js -->
    <script src="js/app.js"></script>


</body>
</html>